package com.qf.application.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author l
 * @since 2024-07-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bankcard_info")
@ApiModel(value="BankcardInfo对象", description="")
public class BankcardInfo extends Model {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "银行卡id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "支付宝账号")
    @TableField("alipay_account")
    private Long alipayAccount;

    @ApiModelProperty(value = "银行卡账号")
    @TableField("bankcard_number")
    private Long bankcardNumber;

    @ApiModelProperty(value = "开户行")
    @TableField("opening_bank")
    private String openingBank;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "姓名")
    @TableField("username")
    private String username;

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private Long phone;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;


}
